﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="send_mail_rejected.aspx.cs" Inherits="mail_send_mail_rejected" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Send mail profiles rejected</title>
    <link href="../styles/style.css" rel="stylesheet" type="text/css" />
    <link type="text/css" href="../css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
    <script src="../js/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
    
    
    </head>
<body>
      <form id="form1" runat="server" >
    <div class="wrapper">
    
    <div id="header">
		<h1 class="logo">
        <a href="../index.aspx">	<img src="../images/logo.png" width="280" height="46" border="0" /></a>
        
        </h1>
       <div class="login_zone" >
            Username:<asp:Literal ID="lUsername" Text="" runat="server" />
            <br />
             <asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" 
                    onclick="lnkLogout_Click" /> | <a href="../login/change_pass.aspx">Change password</a>
            </div>
        </div>
     <div class="clear"></div>
       <br />
        <div style="margin-bottom:20px;width:360px;float:left;">
           <ul class="breadcrumb">
        <li>
            <a href="index.aspx">
              <img src="../images/home.png" width="24" height="23" border="0" align="left"  class="home" style="margin-top:2px;" />
            </a>
            
         </li>
        
          <li>
           <a href="../index.aspx">
            Homepage
            </a>
          </li>
          <li>
            Send email for rejected profiles
          </li>
        
     </ul>
        </div>
        

          <br /><br /><br />
          <div class="main_content">  
          <div style="margin-top:-8px;">
             <img src="../images/send_mail.jpg" width="900" height="77" />
           </div>        
            <br />
             <table width="94%" align="center"  >
          
        <tr>
            <td align="left">
                
            
            
                From</td>
        
            <td align="left">
            
                
            
                         <dx:ASPxComboBox ID="cbEmail" runat="server" Width="220px">
                         </dx:ASPxComboBox>
                                
             
            
            </td>
        
        </tr>
  
        <tr>
            <td align="left">
                
            
            
                Subject:</td>
        
            <td align="left">
            
                
            
                         <asp:TextBox ID="txtSubject" runat="server" CssClass="box" 
                            Width="600px" TabIndex="6"></asp:TextBox>
                
             
            
               <ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                  </ajaxtoolkit:ToolkitScriptManager>
                                
             
            
            </td>
        
        </tr>
  
        <tr>
            <td align="left">
                
            
            
                Content: </td>
        
            <td align="left" style="padding-bottom:4px;">
                <div style="width:620px;float:left;">
                <CKEditor:CKEditorControl ID="txtContentMail" runat="server" Toolbar="Basic" 
                    Width="620px" Height="120px"></CKEditor:CKEditorControl>
                </div>
                <div style="float:left;margin-top:164px;margin-left:10px;vertical-align:bottom;">
                              <asp:Button ID="btnSend" runat="server" Text="Send" CssClass="button white" 
                         TabIndex="103" onclick="btnSend_Click" />
               
                
                </div>
            </td>
        
        </tr>
  
        </table>

     <table width="94%" align="center" >
            <tr >
                <td style="padding:4px;">
                   <div style="float:left;width:186px;text-align:left;">
                     Total check items:&nbsp; 
                      <span id="selCount" style="font-weight: bold">0</span>
                   </div>
                   <br /><br />
                    
                    <dx:ASPxGridView ID="gdListProfilesRejected"
                    ClientInstanceName="gdListProfilesRejected"
                         runat="server" 
                        AutoGenerateColumns="False" 
                        onhtmlrowcreated="gdListProfilesRejected_HtmlRowCreated" 
                        KeyFieldName="profile_id" 
                         Width="680px">
                        <SettingsPager AlwaysShowPager="True">
                        </SettingsPager>
                        <ClientSideEvents SelectionChanged="function(s, e) {
	document.getElementById(&quot;selCount&quot;).innerHTML=gdListProfilesRejected.GetSelectedRowCount();
}" />
                        <Columns>
                            <dx:GridViewCommandColumn Caption="All" ShowSelectCheckbox="True" 
                                VisibleIndex="0">
                                <HeaderTemplate>
                                     <dx:ASPxCheckBox ID="SelectAll" runat="server" ToolTip="Select/Unselect all" 
                                     ClientSideEvents-CheckedChanged="function(s, e) { gdListProfilesRejected.SelectAllRowsOnPage(s.GetChecked()); }" />  
                                </HeaderTemplate>
                                <ClearFilterButton Visible="True">
                                </ClearFilterButton>
                                <HeaderStyle HorizontalAlign="Center" />
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataTextColumn Caption="id" VisibleIndex="1" FieldName="profile_id">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Fullname" VisibleIndex="2" Width="180px" 
                                FieldName="fullname">
                                <CellStyle HorizontalAlign="Left">
                                </CellStyle>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="D.O.B" VisibleIndex="3" FieldName="birth" 
                                Width="80">
                                <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy"></PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Email" FieldName="mail" VisibleIndex="4" 
                                Width="160">
                                <CellStyle HorizontalAlign="Left">
                                </CellStyle>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Profile dated" VisibleIndex="5" 
                                FieldName="date_created">
                                   <PropertiesTextEdit DisplayFormatString="dd-MM-yyyy"></PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Conclusion" VisibleIndex="6" 
                                FieldName="recruitment_conclusion" Width="100px" >
                                
                            
                                <CellStyle HorizontalAlign="Center">
                                </CellStyle>
                                
                          
                            </dx:GridViewDataTextColumn>
                            
                            
                        </Columns>
                        <Settings ShowFilterRow="True" />
                    </dx:ASPxGridView>
                    
                    
                    
                   <br />
                    
                </td>
            </tr>
                        
            
           </table>
         
         

        </div>
        
                <asp:Panel ID="panelEdit" runat="server">    
         <br />
            <table style="width: 340px; background-color: #ffffdd;filter: alpha(opacity=0.9);opacity: 0.9;" >
            <tr>
                <td align="center">
                
                    &nbsp;</td>
            
            </tr>
             <tr>
                 <td align="center">
                     <img alt="icon mail sended" src="../images/mail_send.gif" 
                         style="width: 40px; height: 20px" />Send email completed!
                 </td>
             </tr>
                <tr>
                    <td align="right">
                        &nbsp;</td>
                </tr>
            <tr>
                <td>
                
                    <asp:Button ID="btnOK" runat="server" CssClass="button white" 
                        Text="OK" />
                    &nbsp; </td>
            </tr>
         </table>
        </asp:Panel>
         <asp:LinkButton ID="lnkFake" runat="server"></asp:LinkButton>
          <ajaxtoolkit:modalpopupextender ID="popupEdit" runat="server"
                     PopupControlID="panelEdit" TargetControlID="lnkFake" />
         
        <div id="footer">
        	<p>
            	IT Dev 2011
                Version beta 
                </p>
         </div>          
    </form>
</body>
</html>
